;⬇️
full_command_line := DllCall("GetCommandLine", "str")
if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)"))
{
    try
    {
        if A_IsCompiled
            Run '*RunAs "' A_ScriptFullPath '" /restart'
        else
            Run '*RunAs "' A_AhkPath '" /restart "' A_ScriptFullPath '"'
    }
    ExitApp
}   ;⬆️以管理员身份运行脚本，避免在以管理员运行的窗口中失效。

Tab & q::^#Left
Tab & w::^#Right

Tab & WheelUp::Volume_Up
Tab & WheelDown::Volume_Down
Tab & MButton::Volume_Mute

Tab::Tab